package chujisuanfa;

public class Sum {
    public String minNumber(int[] nums) {
        StringBuilder sb = new StringBuilder();
        int[] res = nums.clone();
        res[2] = 2;
        System.out.print(res[2]);
        return sb.toString();
    }

    public static void main(String[] args) {
        int[] nums = new int[]{1,2,3,5,6};
        for (int i:nums
             ) {
            System.out.print(i);
        }
        Sum sum = new Sum();
        sum.minNumber(nums);
        for (int i:nums
        ) {
            System.out.print(i);
        }
    }
}
